#ifndef __RTSH_H_
#define __RTSH_H_

#include <sys/types.h>
#include <sys/queue.h>

#include <err.h>
#include <errno.h>
#include <histedit.h>
#include <fcntl.h>
#include <netdb.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

#define EDITOR "emacs"
#define MAXHISTORY 100

typedef enum {
   FALSE = 0,
   TRUE = 1
} boolean;

struct rtsh_state {
   char *prompt;
};

struct rtsh_state *_state;
extern char *__progname;

int main(int, char *[]);
char *get_prompt(void);
void usage(void);
void cleanup(void);

#endif 
